import Home from "../page/home";
import Layout from "../page/Layout";
import User from "../page/user";
import Wzgl from "../page/wzgl";
import {createBrowserRouter} from 'react-router-dom'


const router = createBrowserRouter([
  {
    path: "/",
    element: <Layout />,
    children:[
      {path:"/home",element:<Home />},
      {path:"/wzgl",element:<Wzgl />},
      {path:"/user",element:<User />},
    ]
  },
]);


export default router;